/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-09-09 10:07:06
 * @LastEditTime: 2019-10-18 16:49:48
 * @LastEditors: Please set LastEditors
 */
import Vue from 'vue'
import Router from 'vue-router'
import privacy from '@/components/privacy'
const login = () => import('@/page/login')
const register = () => import('@/page/register')
const forget = () => import('@/page/forget')
const home = () => import('@/page/home')
const mine = () => import('@/page/mine')
const xiu = () => import('@/page/xiu')
const persona = () => import('@/page/persona')
const phonemine = () => import('@/page/phonemine')
const emails = () => import('@/page/emails')
const vx = () => import('@/page/vx')
const ding = () => import('@/page/ding')
const shenfen = () => import('@/page/shenfen')
const myren = () => import('@/page/myren')
const geren = () => import('@/page/pageas/geren')
const gerencheng = () => import('@/page/pageas/gerencheng')
const gerenno = () => import('@/page/pageas/gerenno')
const qiren = () => import('@/page/pageas/qiren')
const qirencheng = () => import('@/page/pageas/qirencheng')
const qirenno = () => import('@/page/pageas/qirenno')
const ctu = () => import('@/page/pageas/ctu')
const cusser = () => import('@/page/pageas/cusser')
const feedback = () => import('@/page/pageas/feedback')
const feedbackok = () => import('@/page/pageas/feedbackok')

const sale = () => import('@/module/modest/sale')
const synthesis = () => import('@/module/modest/synthesis')
const synthesised = () => import('@/module/modest/synthesised')
const monthly = () => import('@/module/modest/monthly')
const monthlyed = () => import('@/module/modest/monthlyed')
const annual = () => import('@/module/modest/annual')
const arrivalmoneyr = () => import('@/module/modest/arrivalmoneyr')
const arrivalmoneyred = () => import('@/module/modest/arrivalmoneyred')
const invmo = () => import('@/module/modest/invmo')
const invmoed = () => import('@/module/modest/invmoed')
const invann = () => import('@/module/modest/invann')
const recr = () => import('@/module/modest/recr')
const recred = () => import('@/module/modest/recred')
const recyue = () => import('@/module/modest/recyue')
const recyueed = () => import('@/module/modest/recyueed')
const recnian = () => import('@/module/modest/recnian')

const nodata = () => import('@/module/pages/nodata')
const saying = () => import('@/module/pages/saying')
const depalist = () => import('@/module/pages/depalist')
const prodlist = () => import('@/module/pages/prodlist')

// const loading = () => import('@/loading')

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/register',
      name: 'register',
      component: register
    },
    {
      path: '/forget',
      name: 'forget',
      component: forget
    },
    {
      path: '/home',
      name: 'home',
      component: home
    },
    {
      path: '/mine',
      name: 'mine',
      component: mine
    },
    {
      path: '/privacy',
      name: 'privacy',
      component: privacy
    },
    {
      path: '/sale',
      name: 'sale',
      component: sale
    },
    {
      path: '/synthesis',
      name: 'synthesis',
      component: synthesis
    },
    {
      path: '/synthesised',
      name: 'synthesised',
      component: synthesised
    },
    {
      path: '/nodata',
      name: 'nodata',
      component: nodata
    },
    {
      path: '/saying',
      name: 'saying',
      component: saying
    },
    {
      path: '/monthly',
      name: 'monthly',
      component: monthly
    },
    {
      path: '/monthlyed',
      name: 'monthlyed',
      component: monthlyed
    },
    {
      path: '/annual',
      name: 'annual',
      component: annual
    },
    {
      path: '/arrivalmoneyr',
      name: 'arrivalmoneyr',
      component: arrivalmoneyr
    },
    {
      path: '/arrivalmoneyred',
      name: 'arrivalmoneyred',
      component: arrivalmoneyred
    },
    {
      path: '/invmo',
      name: 'invmo',
      component: invmo
    },
    {
      path: '/invmoed',
      name: 'invmoed',
      component: invmoed
    },
    {
      path: '/invann',
      name: 'invann',
      component: invann
    },
    {
      path: '/recr',
      name: 'recr',
      component: recr
    },
    {
      path: '/recred',
      name: 'recred',
      component: recred
    },
    {
      path: '/recyue',
      name: 'recyue',
      component: recyue
    },
    {
      path: '/recyueed',
      name: 'recyueed',
      component: recyueed
    },
    {
      path: '/recnian',
      name: 'recnian',
      component: recnian
    },
    {
      path: '/xiu',
      name: 'xiu',
      component: xiu
    },
    {
      path: '/persona',
      name: 'persona',
      component: persona
    },
    {
      path: '/phonemine',
      name: 'phonemine',
      component: phonemine
    },
    {
      path: '/emails',
      name: 'emails',
      component: emails
    },
    {
      path: '/vx',
      name: 'vx',
      component: vx
    },
    {
      path: '/ding',
      name: 'ding',
      component: ding
    },
    {
      path: '/shenfen',
      name: 'shenfen',
      component: shenfen
    },
    {
      path: '/myren',
      name: 'myren',
      component: myren
    },
    {
      path: '/geren',
      name: 'geren',
      component: geren
    },
    {
      path: '/gerencheng',
      name: 'gerencheng',
      component: gerencheng
    },
    {
      path: '/gerenno',
      name: 'gerenno',
      component: gerenno
    },
    {
      path: '/qiren',
      name: 'qiren',
      component: qiren
    },
    {
      path: '/qirencheng',
      name: 'qirencheng',
      component: qirencheng
    },
    {
      path: '/qirenno',
      name: 'qirenno',
      component: qirenno
    },
    {
      path: '/ctu',
      name: 'ctu',
      component: ctu
    },
    {
      path: '/cusser',
      name: 'cusser',
      component: cusser
    },
    {
      path: '/feedback',
      name: 'feedback',
      component: feedback
    },
    {
      path: '/feedbackok',
      name: 'feedbackok',
      component: feedbackok
    },
    {
      path: '/depalist',
      name: 'depalist',
      component: depalist
    },
    {
      path: '/prodlist',
      name: 'prodlist',
      component: prodlist
    },
  ]
})
